﻿namespace Core.Items.Modules
{
    /*

		MetaGroup                      = EngineeringEquipment
		Group                          = ReactorSealings
		Module                         = tortoise reactor sealing prototype
		CpuUsage                       = 13.00 TF
		ReactorUsage                   = 68.00 RP
		Type                           = Passive
		Slot                           = Legs
		TechnologicalLevel             = T2P
		Mass                           = 135.00 kg
		PackedVolume                   = 0.50 U
		Volume                         = 1.00 U
		AccumulatorStabilityMod        = -25 %
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;

    /// <summary>
    /// Tortoise reactor sealing prototype module class
    /// </summary>
    /// <remarks>File generated on 22/04/2014 11:31:53</remarks>
    public sealed class TortoiseReactorSealingPrototype : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="TortoiseReactorSealingPrototype"/> class.
        /// </summary>
        public TortoiseReactorSealingPrototype()
            : base(
            "Tortoise Reactor Sealing Prototype",
            "",
            ModuleMetaGroupsEnum.EngineeringEquipment,
            ModuleGroupsEnum.ReactorSealings,
            TechnologyLevelsEnum.Level2|TechnologyLevelsEnum.Prototype,
            SizesEnum.Small,
            new LazyFeature[] { 
				new LazyFeature(typeof(EngineeringCpuUsage<double>),13.00),
				new LazyFeature(typeof(ReactorUsage<double>),68.00),
				new LazyFeature(typeof(ModuleMass<double>),135.00), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 135.00 ){ IsVisible = false },
				new Modifier( FeatureTypesEnum.Module, FeaturesEnum.AccumulatorStability, -0.25 ){ Unit = UnitsEnum.Percentage, DisplayName = "Accumulator Stability Modifier"  },
				 })
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Passive; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Legs; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Modules; }
        }
    }
}